Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / NamedObjectCollection<T> Class / Item Property / Item(String) Property


In This Topic
    Item(String) Property
    In This Topic
    Gets or sets the element with the specified name.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Property Item( _
       ByVal name As String _
    ) As T
    'Usage
     
    
    Dim instance As NamedObjectCollection(Of T)
    Dim name As String
    Dim value As T
     
    instance.Item(name) = value
     
    value = instance.Item(name)
    public virtual T Item( 
       string name
    ) {get; set;}

    Parameters

    name

    Property Value

    An element of INamedObject type that indicates the specified item.
    See Also